package net.wofly.sale.order.service;

import java.util.List;

import net.wofly.sale.order.domain.PayInfoPic;

public interface IPayInfoPicService {

	/**
	 * 增加或修改
	 * 
	 * @param entity
	 * @return
	 */
	public PayInfoPic save(PayInfoPic entity);

	/**
	 * 删除
	 * 
	 * @param entity
	 * @return
	 */
	public void delete(PayInfoPic entity);

	/**
	 * 根据主键ID删除
	 * 
	 * @param key
	 * @return
	 */
	public void delete(String key);
	
	/**
	 * 根据OrderID删除
	 * @param orderID
	 */
	void deleteByOrderID(String orderID);

	/**
	 * 根据主键查询
	 * 
	 * @param key
	 * @return
	 */
	public PayInfoPic findOne(String key);
	
	public List<PayInfoPic> save(List<PayInfoPic> entityList) ;
	
	public void savePayInfoPics(String orderID, String picUrls);
	
	List<PayInfoPic> findByOrderID(String orderID);

}
